package com.hibase.core.rule.entity.ruletableversion;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hibase.core.mybatis.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 动态规则表
 * </p>
 *
 * @author zjw
 * @since 2020-10-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RuleTableVersion extends BaseDO {

    private static final long serialVersionUID = 1L;

    /**
     * rule_table
     */
    private String ruleTableId;

    /**
     * table_alias_name
     */
    private String tableAliasName;

    /**
     * 表名
     */
    private String name;

    /**
     * 有效期起
     */
    private Date startDate;

    /**
     * 有效期至
     */

    private Date endDate;

    /**
     * 状态(上线/离线)
     */
    private String status;

    /**
     * 查找类型
     */
    private String type;

    /**
     * 备注
     */
    private String remarks;

    @TableField(exist = false)
    private String fieldCount;

    @TableField(exist = false)
    private String dataCount;


}
